package test.reflect;

import java.util.HashMap;
import java.util.Map;

public class Client {
	public static void main(String[] args) throws Exception{
		//HttpServletRequest中的参数
		Map<String,String> paramMap=new HashMap<String,String>();
		paramMap.put("usename", "zhaohui");
		paramMap.put("password", "111111");
		
		//产生目标Action  (根据struts.xml配置文件来获取目标Action)
		Action action=new Action();
		ActionProxy proxy=new ActionProxy(action);
		
		//执行代理类
		System.out.println(proxy.execute(paramMap));
	}

}
